package com.lry.rpc.starter.annotation;


import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD,ElementType.METHOD})
public  @interface RpcReference {

    String serviceImplName() default "";

    String version() default "";

    String group() default "";

    String merger() default "";

    String token() default "";

    String url() default "";

    String router() default "roundRobin";

    String proxy() default "cglib";

    int retries() default 2;

    boolean async() default false;

    long timeout() default 3000;

    String[] filter() default {};

    String serializer() default "kryo";

    String compressor() default "gzip";

    String[] excludeMethod() default {"toString"};

    String[] includeMethod() default {};
}
